/*******************************************************************************
*                                 AWorks
*                       ----------------------------
*                       innovating embedded platform
*
* Copyright (c) 2001-present Guangzhou ZHIYUAN Electronics Co., Ltd.
* ALL rights reserved.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
*
* The License of this software follows LGPL v2.1, See the LICENSE for more details:
* https://opensource.org/licenses/LGPL-2.1
*
* Contact information:
* web site:    http://www.zlg.cn/
*******************************************************************************/

/**
 * \file   pthread.h
 * \brief  subset of pthread
 *
 * \internal
 * \par modification history:
 * - 1.00 15-11-10  dcf, first implementation.
 * \endinternal
 */

#include <string.h>
#include "pthread.h"

int pthread_mutex_init(pthread_mutex_t           *p_mutex,
                       const pthread_mutexattr_t *p_mutexattr){
    int ret = 0;

    return ret;
}

int pthread_mutex_destroy(pthread_mutex_t *p_mutex){
    return 0;
}

int pthread_mutex_lock(pthread_mutex_t *p_mutex){
    return 0;
}

int pthread_mutex_unlock(pthread_mutex_t *p_mutex){
    return 0;
}
